#include "helloworld.h"
#include "mylabel.h"
#include "ui_helloworld.h"
#include <QLabel>

HelloWorld::HelloWorld(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::HelloWorld)
{
    ui->setupUi(this);

//    QLabel *label = new QLabel(this);
    mylabel *label = new mylabel(this);
    label->setText("hello world!曹飞你!");

}

HelloWorld::~HelloWorld()
{
    delete ui;
}

